package com.ruoyi.weixin.entity;

import java.io.Serializable;
import java.util.Arrays;

public class FileAndStringMessage implements Serializable {
    private byte[] fileBytes;
    private String message;
    private String fileName;

    public FileAndStringMessage(byte[] fileBytes, String message, String fileName) {
        this.fileBytes = fileBytes;
        this.message = message;
        this.fileName = fileName;
    }

    public FileAndStringMessage(byte[] fileBytes, String message) {
        this.fileBytes = fileBytes;
        this.message = message;
    }

    public byte[] getFileBytes() {
        return fileBytes;
    }

    public String getMessage() {
        return message;
    }

    public void setFileBytes(byte[] fileBytes) {
        this.fileBytes = fileBytes;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    @Override
    public String toString() {
        return "FileAndStringMessage{" +
                "fileBytes=" + Arrays.toString(fileBytes) +
                ", message='" + message + '\'' +
                ", fileName='" + fileName + '\'' +
                '}';
    }
}